package com.liu.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;

@Controller
public class CSDNParserController {

    @RequestMapping(value = {"/", "/home.do"}, method = RequestMethod.GET)
    public String login(HttpServletRequest request) {
        return "/index";
    }
}
